package com.tbit.uqbike.push.pojo;

import java.io.Serializable;

/**
 * 终端最后状态
 *
 * @author Leon
 * 2017年5月15日 上午10:47:09
 */
public class MachineStatus implements Serializable {
    private static final long serialVersionUID = 8578600440854359635L;
    /**
     * 设备id
     */
    private Integer machineId;
    /**
     * 设备编号
     */
    private String machineNO;
    /**
     * 定位时间
     */
    private String posDt;
    /**
     * 电池信息时间
     */
    private String batDt;
    /**
     * 原始经度
     */
    private Double lon;
    /**
     * 原始纬度
     */
    private Double lat;
    /**
     * 校准经度
     */
    private Double lonC;
    /**
     * 校准纬度
     */
    private Double latC;
    /**
     * 电量
     */
    private Integer soc;
    /**
     * 电流
     */
    private Integer batteryEI;
    /**
     * 电压
     */
    private Integer batteryEU;
    /**
     * 是否已经借出
     */
    private Integer isBorrow;
    /**
     * 电量百分比
     */
    private Integer socPercent = -1;
    /**
     * 续航里程
     */
    private Integer surplusMileage = -1;

    public Integer getMachineId() {
        return machineId;
    }

    public void setMachineId(Integer machineId) {
        this.machineId = machineId;
    }

    public String getMachineNO() {
        return machineNO;
    }

    public void setMachineNO(String machineNO) {
        this.machineNO = machineNO;
    }

    public String getPosDt() {
        return posDt;
    }

    public void setPosDt(String posDt) {
        this.posDt = posDt;
    }

    public String getBatDt() {
        return batDt;
    }

    public void setBatDt(String batDt) {
        this.batDt = batDt;
    }

    public Double getLon() {
        return lon;
    }

    public void setLon(Double lon) {
        this.lon = lon;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Double getLonC() {
        return lonC;
    }

    public void setLonC(Double lonC) {
        this.lonC = lonC;
    }

    public Double getLatC() {
        return latC;
    }

    public void setLatC(Double latC) {
        this.latC = latC;
    }

    public Integer getSoc() {
        return soc;
    }

    public void setSoc(Integer soc) {
        this.soc = soc;
    }

    public Integer getBatteryEI() {
        return batteryEI;
    }

    public void setBatteryEI(Integer batteryEI) {
        this.batteryEI = batteryEI;
    }

    public Integer getBatteryEU() {
        return batteryEU;
    }

    public void setBatteryEU(Integer batteryEU) {
        this.batteryEU = batteryEU;
    }

    public Integer getIsBorrow() {
        return isBorrow;
    }

    public void setIsBorrow(Integer isBorrow) {
        this.isBorrow = isBorrow;
    }

    public Integer getSocPercent() {
        return socPercent;
    }

    public void setSocPercent(Integer socPercent) {
        this.socPercent = socPercent;
    }

    public Integer getSurplusMileage() {
        return surplusMileage;
    }

    public void setSurplusMileage(Integer surplusMileage) {
        this.surplusMileage = surplusMileage;
    }

    @Override
    public String toString() {
        return "MachineStatus [machineId=" + machineId + ", machineNO=" + machineNO + ", posDt=" + posDt + ", batDt=" + batDt + ", lon=" + lon + ", lat=" + lat + ", lonC=" + lonC + ", latC=" + latC + ", soc=" + soc + ", batteryEI=" + batteryEI
                + ", batteryEU=" + batteryEU + ", isBorrow=" + isBorrow + ", socPercent=" + socPercent + ", surplusMileage=" + surplusMileage + "]";
    }

}
